home *** CD-ROM | disk | FTP | other *** search
- Path: news.th-darmstadt.de!news!enno
- From: enno@inferenzsysteme.informatik.th-darmstadt.de (Enno Sandner)
- Newsgroups: comp.lang.c++
- Subject: Re: Template delaration problem
- Date: 26 Jan 1996 19:13:29 GMT
- Organization: Fachbereich Informatik, TH Darmstadt
- Distribution: world
- Message-ID: <ENNO.96Jan26201329@kitz.inferenzsysteme.informatik.th-darmstadt.de>
- References: <4e8c1i$mpp@phoenix.dse.beckman.com>
- NNTP-Posting-Host: kitz.intellektik.informatik.th-darmstadt.de
- In-reply-to: jawalker@ccgate.dp.beckman.com's message of Thu, 25 Jan 1996 17:30:40 GMT
-
- In article <4e8c1i$mpp@phoenix.dse.beckman.com> jawalker@ccgate.dp.beckman.com (Jack Walker) writes:
-
- My compiler (BC++ 4.52) complains about the following declaration:
-
- template < class T, T init_val>
- class foo
- { . . . };
-
- Specifically it complains about the line cntaining the template
- keyword regarding the type of init_val. Is it valid to define template
- arguments in terms of other template arguments?
-
- Yes, but it's a new feature that isn't supported by most?any compiler(s).
-
- Enno
-
-